package com.zbw.mapper;

import com.zbw.domain.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageMapper {
    List<Message> queryByUser(@Param("userName") String userName);

    void insert(Message message);

    void update(Message message);
}
